// example.cpp
#include <iostream>

class Example {
public:
    void greet() {
        std::cout << "Hello from C++!" << std::endl;
    }
};// example.cpp
#include <iostream>

class Example {
public:
    void greet() {
        std::cout << "Hello from C++!" << std::endl;
    }
};